package com.wqtz.chechai.bean;

import java.util.List;

/**
 * 项目名称： CheChai
 * 创建人 : Liberation
 * 创建时间: 2016/12/28 14:06
 */

public class CarModelBean {

	/**
	 * reason : 成功返回
	 * result : {"data":[{"pyear":2003,"chexing_list":[{"id":"30009988","cxname":"雅阁(进口) 2003款 2.0L 自动 VTi","pyear":"2002","price":"26.50"},{"id":"30009994","cxname":"雅阁(进口) 2003款 2.2L 自动 EXi","pyear":"2002","price":"33.00"},{"id":"30009999","cxname":"雅阁(进口) 2003款 3.0L 自动","pyear":"2002","price":"35.30"}]},{"pyear":2002,"chexing_list":[{"id":"30009987","cxname":"雅阁(进口) 2002款 2.0L 自动 VTi","pyear":"2001","price":"26.50"},{"id":"30009993","cxname":"雅阁(进口) 2002款 2.2L 自动 EXi","pyear":"2001","price":"33.00"},{"id":"30009998","cxname":"雅阁(进口) 2002款 3.0L 自动","pyear":"2001","price":"35.30"}]},{"pyear":2001,"chexing_list":[{"id":"30009986","cxname":"雅阁(进口) 2001款 2.0L 自动 VTi","pyear":"2000","price":"26.50"},{"id":"30009992","cxname":"雅阁(进口) 2001款 2.2L 自动 EXi","pyear":"2000","price":"33.00"},{"id":"30009997","cxname":"雅阁(进口) 2001款 3.0L 自动","pyear":"2000","price":"35.30"}]},{"pyear":2000,"chexing_list":[{"id":"30009991","cxname":"雅阁(进口) 2000款 2.2L 自动 EXi","pyear":"1999","price":"33.00"},{"id":"30009996","cxname":"雅阁(进口) 2000款 3.0L 自动","pyear":"1999","price":"35.30"}]},{"pyear":1999,"chexing_list":[{"id":"30009990","cxname":"雅阁(进口) 1999款 2.2L 自动 EXi","pyear":"1998","price":"33.00"},{"id":"30009995","cxname":"雅阁(进口) 1999款 3.0L 自动","pyear":"1998","price":"35.30"}]},{"pyear":1996,"chexing_list":[{"id":"30009989","cxname":"雅阁(进口) 1996款 2.2L 自动 EXi","pyear":"1995","price":"33.00"}]},{"pyear":1995,"chexing_list":[{"id":"30009985","cxname":"雅阁(进口) 1995款 2.0L","pyear":"1994","price":"26.50"}]},{"pyear":1994,"chexing_list":[{"id":"30009984","cxname":"雅阁(进口) 1994款 2.0L 自动","pyear":"1993","price":"26.50"}]}]}
	 * error_code : 0
	 */

	private String reason;
	private ResultBean result;
	private int error_code;

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public ResultBean getResult() {
		return result;
	}

	public void setResult(ResultBean result) {
		this.result = result;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}

	public static class ResultBean {
		private List<DataBean> data;

		public List<DataBean> getData() {
			return data;
		}

		public void setData(List<DataBean> data) {
			this.data = data;
		}

		public static class DataBean {
			/**
			 * pyear : 2003
			 * chexing_list : [{"id":"30009988","cxname":"雅阁(进口) 2003款 2.0L 自动 VTi","pyear":"2002","price":"26.50"},{"id":"30009994","cxname":"雅阁(进口) 2003款 2.2L 自动 EXi","pyear":"2002","price":"33.00"},{"id":"30009999","cxname":"雅阁(进口) 2003款 3.0L 自动","pyear":"2002","price":"35.30"}]
			 */

			private int pyear;
			private List<ChexingListBean> chexing_list;

			public int getPyear() {
				return pyear;
			}

			public void setPyear(int pyear) {
				this.pyear = pyear;
			}

			public List<ChexingListBean> getChexing_list() {
				return chexing_list;
			}

			public void setChexing_list(List<ChexingListBean> chexing_list) {
				this.chexing_list = chexing_list;
			}

			public static class ChexingListBean {
				/**
				 * id : 30009988
				 * cxname : 雅阁(进口) 2003款 2.0L 自动 VTi
				 * pyear : 2002
				 * price : 26.50
				 */

				private String id;
				private String cxname;
				private String pyear;
				private String price;

				public String getId() {
					return id;
				}

				public void setId(String id) {
					this.id = id;
				}

				public String getCxname() {
					return cxname;
				}

				public void setCxname(String cxname) {
					this.cxname = cxname;
				}

				public String getPyear() {
					return pyear;
				}

				public void setPyear(String pyear) {
					this.pyear = pyear;
				}

				public String getPrice() {
					return price;
				}

				public void setPrice(String price) {
					this.price = price;
				}
			}
		}
	}
}
